package com.zbkj.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *  商户端分红设置请求对象
 *  +----------------------------------------------------------------------
 *  | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
 *  +----------------------------------------------------------------------
 *  | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
 *  +----------------------------------------------------------------------
 *  | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
 *  +----------------------------------------------------------------------
 *  | Author: CRMEB Team <admin@crmeb.com>
 *  +----------------------------------------------------------------------
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MerchantBrokerageConfigInfoRequest对象", description="商户端分红设置请求对象")
public class MerchantBrokerageConfigInfoRequest implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "排名分佣比例内容(格式：1:50,2:30,3:20)")
    private String rankingScale;

    @ApiModelProperty(value = "利润比（%）")
    private BigDecimal scale;

    @ApiModelProperty(value = "奖励份额（取多少个名次）")
    private Integer prizeNum;

    @ApiModelProperty(value = "周期开始时间")
    private Date startTime;

    @ApiModelProperty(value = "周期结束时间")
    private Date endTime;

    @ApiModelProperty(value = "状态（0：关闭，1：开启）")
    private Integer status;

    @ApiModelProperty(value = "统计周期(0:天，1：周，2：月，99：选择时间)")
    private Integer cycle;

    @ApiModelProperty(value = "自动续期(0:否，1：是)")
    private Boolean autoRenew;

}
